import React from 'react';
export interface IOptionProps {
  value: string | number;
  title?: string; // 选择option 之后的显示
  children?: React.ReactNode;
}

const Noption: React.FC<IOptionProps> = (props: IOptionProps) => {
  const { children } = props;
  return (
    <div style={{ whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis' }}>
      {children}
    </div>
  );
};

export default Noption;
